﻿using System;
using System.Collections.Generic;
using System.Text;
using DCRF.Common.Kernel.Core;
using DCRF.BaseComponents;
using DCRF.Common.Interface;
using DCRF.Common.Core;
using DCRF.Common.Primitive;

namespace TestApp
{
    class Program
    {
        static void Main(string[] args)
        {
            RuntimeBlockBroker broker = new RuntimeBlockBroker();
            broker.AddBlock<DummyBlock>();

            IBlockWeb web = new BlockWeb("test", broker);

            Guid id = web.AddBlock(CID.New("DummyBlock"));

            int h = (int)web[id].ProcessRequest("DummyService1", 10);
        }
    }
}
